{% extends "artist-base.html" %}

{% block title %}{{ artist.title }} Discography{% endblock %}

{% block content %}
<h3>Discography</h3>
<ul>
  {% for album in artist.album_set.all %}
  <li><a href="{{ album.get_absolute_url }}">{{ album }}</a>
  {% if album.year %}
  ({{ album.year }})
  {% endif %}
  </li>
  {% endfor %}
</ul>
{% endblock %}
